﻿@{
    Layout = "~/Views/Shared/_SLayout.cshtml";
    ViewBag.Page = "pay";
    ViewBag.HeaderMenu = "recharge";
    ViewBag.Status = string.IsNullOrWhiteSpace(ViewBag.Code) ? string.Empty : "login";
    ViewBag.Logout = "/recharge/step1";

    bool error = !string.IsNullOrWhiteSpace(Convert.ToString(ViewData["error"])) ? true : false;
}
@section HeadCss{
    <link href="~/images/images/style.css" rel="stylesheet" type="text/css" />
    <link href="~/images/images/pay.css" rel="stylesheet" type="text/css" />
    @RenderSection("HeadCss", required: false)
}
@section HeadJavaScript{
    @RenderSection("HeadJavaScript", required: false)
}
<div id="maincz">
    <div class="left">
        <ul>
            <li>
            @{if (ViewBag.Menu == "step1" || ViewBag.Menu == "help" || ViewBag.Menu == "order")
              {
                <a><img src="~/images/images/pay_menu1a.jpg" /></a>
                <div class="cp1">
                    @if (ViewBag.Menu == "step1")
                    {
                    <div class="cur">我要充值</div>
                    }
                    else {
                         <div><a href="/recharge/step1">我要充值</a></div>
                    }
                     @if (ViewBag.Menu == "order")
                    {
                    <div class="cur">充值查询</div>
                    }
                    else {
                         <div><a href="/order/QueryPage">充值查询</a></div>
                    }
                     @if (ViewBag.Menu == "help")
                    {
                    <div class="cur">充值帮助</div>
                    }
                    else {
                         <div><a href="/recharge/help">充值帮助</a></div>
                    }
                </div>
              }
              else
              {
                <a href="/recharge/step1"><img src="~/images/images/pay_menu1.jpg" /></a>
              }}
                
            </li>
            <li>
            @{if (ViewBag.Menu == "step2")
              {
                <a><img src="~/images/images/pay_menu2a.jpg" /></a>
              }
              else if(ViewData["game"] != null)
              {
                <a href="/recharge/Step2?game=@ViewData["game"]"><img src="~/images/images/pay_menu2.jpg" /></a>
              }else{
                <a><img src="~/images/images/pay_menu2.jpg" /></a>
              }}
                
            </li>
            <li>
            @{
                if (ViewBag.Menu == "step3" || ViewBag.Menu == "step4")
                {
                <a><img src="~/images/images/pay_menu3a.jpg" /></a>
                }
                else
                {
                <a><img src="~/images/images/pay_menu3.jpg" /></a>
                }}
            </li>
            <li>
             @{
                 if (ViewBag.Menu == "step5")
                 {
                <a><img src="~/images/images/pay_menu4a.jpg" /></a>
                 }
                 else
                 {
                <a><img src="~/images/images/pay_menu4.jpg" /></a>
                 }}
            </li>
        </ul>
    </div>
    <div class="right">
       @RenderBody()
    </div>
</div>

